// To parse this JSON data, do
//
//     final lzHotCakesPlayVideoModel = lzHotCakesPlayVideoModelFromMap(jsonString);

import 'dart:convert';

import 'package:shopping_group/modle/more/entity/group_simple4fuli_entity.dart';

LzHotCakesPlayVideoModel lzHotCakesPlayVideoModelFromMap(String str) =>
    LzHotCakesPlayVideoModel.fromMap(json.decode(str));

String lzHotCakesPlayVideoModelToMap(LzHotCakesPlayVideoModel data) => json.encode(data.toMap());

class LzHotCakesPlayVideoModel extends GroupSimple4FuliEntity {
  LzHotCakesPlayVideoModel({
    this.groupSpecId,
    this.name,
    this.imgUrl,
    this.canJoin,
    this.disabledImgUrl,
    this.reBuySucCt,
    this.giveIntegral,
    this.pushCt,
    this.senYu,
    this.playXiYi,
  });

  String groupSpecId;
  String name;
  String imgUrl;
  String canJoin;
  String disabledImgUrl;
  String reBuySucCt = "0";
  String giveIntegral;
  String pushCt = "0";
  String senYu = "0";
  String playXiYi;

  factory LzHotCakesPlayVideoModel.fromMap(Map<String, dynamic> json) => LzHotCakesPlayVideoModel(
        groupSpecId: json["groupSpecId"] == null ? null : json["groupSpecId"],
        name: json["name"] == null ? null : json["name"],
        imgUrl: json["imgUrl"] == null ? null : json["imgUrl"],
        canJoin: json["canJoin"] == null ? null : json["canJoin"],
        disabledImgUrl: json["disabledImgUrl"] == null ? null : json["disabledImgUrl"],
        reBuySucCt: json["reBuySucCt"] == null ? null : json["reBuySucCt"],
        giveIntegral: json["giveIntegral"] == null ? null : json["giveIntegral"],
        pushCt: json["pushCt"] == null ? null : json["pushCt"],
        senYu: json["senYu"] == null ? null : json["senYu"],
        playXiYi: json["playXiYi"] == null ? null : json["playXiYi"],
      );

  Map<String, dynamic> toMap() => {
        "groupSpecId": groupSpecId == null ? null : groupSpecId,
        "name": name == null ? null : name,
        "imgUrl": imgUrl == null ? null : imgUrl,
        "canJoin": canJoin == null ? null : canJoin,
        "disabledImgUrl": disabledImgUrl == null ? null : disabledImgUrl,
        "reBuySucCt": reBuySucCt == null ? null : reBuySucCt,
        "giveIntegral": giveIntegral == null ? null : giveIntegral,
        "pushCt": pushCt == null ? null : pushCt,
        "senYu": senYu == null ? null : senYu,
        "playXiYi": playXiYi == null ? null : playXiYi,
      };
}
